﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin : System.Web.UI.MasterPage
{
    private LocalFunctions _func = null;

    public LocalFunctions FUNC
    {
        get
        {
            if (_func == null)
                _func = new LocalFunctions(true);
            return _func;
        }
    }


    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["userID"] == null)
            Response.Redirect("login.aspx");

        lnkHomePage.Text = FUNC.GetPhrase(12);
        lnkFooter.Text = FUNC.GetPhrase(17);
        lnkAbout.Text = FUNC.GetPhrase(14);
        lnkworks.Text = FUNC.GetPhrase(13);
        lnkPrices.Text = FUNC.GetPhrase(15);
        lnkContacts.Text = FUNC.GetPhrase(16);
    }
}
